package base.objectoriented;

interface Singer1{
	public void sing();
	public void sleep();
}

interface Painter1{
	public void paint();
	public void eat();
}

class Children implements Singer1{
	public void sing(){
		System.out.println("i am singing");
	}
	
	public void sleep(){
		System.out.println("i am eating");
	}
	
	public void identify(){
		System.out.println("i am a student");
	}
}


public class TestInterface3 {
	public static void main(String[] args) {
		Singer1 child = new Children();
		child.sing();
		//child.identify();
	}

}
